﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Epi;

namespace CDC.SampleShell.Domain.Events
{
    public class RecordInsertedFromServerArgs : EventArgs
    {
        public View Form { get; private set; }
        public Record Record { get; private set; }

        public RecordInsertedFromServerArgs(View form, Record record)
        {
            Form = form;
            Record = record;
        }
    }

    public class RecordUpdatedFromServerArgs : EventArgs
    {
        public View Form { get; private set; }
        public Record Record { get; private set; }

        public RecordUpdatedFromServerArgs(View form, Record record)
        {
            Form = form;
            Record = record;
        }
    }
}
